package com.wzy.level.byPage.byPageDto;

public class ByPage {

    private int  index;//封装的偏移量
    private int limit;//记录的行数

    public ByPage(){

    }

    public ByPage(int index, int rows){
        this.index = index;
        this.limit = rows;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }
}
